package com.sunnada.btfvilg.service;

import com.sunnada.btfvilg.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sunnada.btfvilg.model.request.UserParamVo;
import com.sunnada.btfvilg.model.request.UserRegParamVo;
import com.sunnada.btfvilg.model.response.UserListVo;
import com.sunnada.btfvilg.model.response.UserVo;
import com.sunnada.btfvilg.model.response.WordVo;

import java.util.List;

/**
 *  服务类
 *
 * @author hcx
 */
public interface UserService extends IService<User> {

    UserVo adminLogin(UserParamVo user);

    UserVo login(UserParamVo userParamVo);

    UserListVo getUserList(Integer page, Integer numPerPage);

    UserVo userRegister(UserRegParamVo userRge);

    void delUser(String uid);

    void updateUser(UserRegParamVo userRge);

    User getUserById(String uid);

}
